﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QLKetNoi;
using QLPhanQuyen.DAO;
using System.Data.Linq;

namespace QLPhanQuyen.BO
{
    public class VaiTroBO
    {
        VaiTroDAO VTDAO = new VaiTroDAO();
        
        public Table<VAITRO> DanhSachVaiTro()
        {
            return VTDAO.DanhSachVaiTro();
        }

        public string MaCaoNhat()
        {
            return VTDAO.MaCaoNhat();
        }

        public bool ThemVaiTro(VAITRO VT)
        {
            return VTDAO.ThemVaiTro(VT);
        }
    }
}
